package annotation;

public class InitTest {

    static {
        System.out.println("MAIN");
    }

    public static void main(String[] args) {
        A a = new A();
    }
}
class A{
    public static void As(){
        System.out.println("A静态方法");
    }
    static {
        System.out.println("静态代码快");
    }
    public A(){
        System.out.println("A的构造方法");
    }
}
